package top.wardyan.wmes.rfid.vo;

import java.sql.Timestamp;

import top.wardyan.wmes.constant.LangType;
import top.wardyan.wmes.constant.ValidateDataType;
import top.wardyan.wmes.constant.ValidateOPType;

/**
 * kp_rfid_validate_bill的参数
 * @author harrydeep@wardyan.top
 * 2021年10月26日
 */
public class ValidateBillParam {

	/** 大类: 1.收发 2.收回 3.x 4.移交 5.签收 6.外发 7.收货 **/
	ValidateDataType dataType;		// 
	
	/** 条码 也可能是单件条码? **/
	Long card;						//
	
	/** 操作类型 1发出 3收回 4返工 **/
	ValidateOPType optype;			//
	
	/** 部门ID **/
	Integer deptID;
	
	/** 员工ID **/
	Integer emplID;
	
	/** 限制为一次只一个工序号! 如果有多个工序号, 在应用层就分开!  多个工序号的话很难区分哪个工序成功了哪个没成功, 成功了多少 **/
	Integer billNo;				//
	
	/** 发出时间 **/
	Timestamp issueTime;			//
	
	/** 设备ID **/
	Integer deviceID;
	
	/** 工作类别 0为本位, 1为非本位 ... **/
	Integer workType;
	
	/** 数量 最多精确到4位小数 **/
	Integer qty;
	
	/** 做货日期 **/
	Timestamp workDate;
	
	/** RFID卡号 **/
	Long rfidID;
	
	/** 设备ID **/
	Integer machineID;
	
	/** 班次 **/
	Integer clazz;
	
	/** 语言 **/
	LangType langID;
	
	/** 上线ID, rTime_DID或者扣数件数 **/
	Integer userID;
	
	/** =8时保存 **/
	Integer tag;
	
	/** RFID上线ID **/
	Integer timeDID;
	
	/** 备用参数 **/
	Integer extID;
	
	Long uid;
	
	
	
	
	
	
	

	public LangType getLangID() {
		return langID;
	}

	public ValidateBillParam setLangID(LangType langID) {
		this.langID = langID;
		return this;
	}

	public ValidateDataType getDataType() {
		return dataType;
	}

	public ValidateBillParam setDataType(ValidateDataType dataType) {
		this.dataType = dataType;
		return this;
	}

	public Long getCard() {
		return card;
	}

	public ValidateBillParam setCard(Long card) {
		this.card = card;
		return this;
	}

	public ValidateOPType getOptype() {
		return optype;
	}

	public ValidateBillParam setOptype(ValidateOPType optype) {
		this.optype = optype;
		return this;
	}

	public Integer getDeptID() {
		return deptID;
	}

	public ValidateBillParam setDeptID(Integer deptID) {
		this.deptID = deptID;
		return this;
	}

	public Integer getEmplID() {
		return emplID;
	}

	public ValidateBillParam setEmplID(Integer emplID) {
		this.emplID = emplID;
		return this;
	}

	public Integer getBillNo() {
		return billNo;
	}

	public ValidateBillParam setBillNo(Integer billNo) {
		this.billNo = billNo;
		return this;
	}

	public Timestamp getIssueTime() {
		return issueTime;
	}

	public ValidateBillParam setIssueTime(Timestamp issueTime) {
		this.issueTime = issueTime;
		return this;
	}

	public Integer getDeviceID() {
		return deviceID;
	}

	public ValidateBillParam setDeviceID(Integer deviceID) {
		this.deviceID = deviceID;
		return this;
	}

	public Integer getWorkType() {
		return workType;
	}

	public ValidateBillParam setWorkType(Integer workType) {
		this.workType = workType;
		return this;
	}

	public Integer getQty() {
		return qty;
	}

	public ValidateBillParam setQty(Integer qty) {
		this.qty = qty;
		return this;
	}

	public Timestamp getWorkDate() {
		return workDate;
	}

	public ValidateBillParam setWorkDate(Timestamp workDate) {
		this.workDate = workDate;
		return this;
	}

	public Long getRfidID() {
		return rfidID;
	}

	public ValidateBillParam setRfidID(Long rfidID) {
		this.rfidID = rfidID;
		return this;
	}

	public Integer getMachineID() {
		return machineID;
	}

	public ValidateBillParam setMachineID(Integer machineID) {
		this.machineID = machineID;
		return this;
	}

	public Integer getClazz() {
		return clazz;
	}

	public ValidateBillParam setClazz(Integer clazz) {
		this.clazz = clazz;
		return this;
	}

	public Integer getUserID() {
		return userID;
	}

	public ValidateBillParam setUserID(Integer userID) {
		this.userID = userID;
		return this;
	}

	public Integer getTag() {
		return tag;
	}

	public ValidateBillParam setTag(Integer tag) {
		this.tag = tag;
		return this;
	}

	public Integer getTimeDID() {
		return timeDID;
	}

	public Integer getExtID() {
		return extID;
	}

	public ValidateBillParam setTimeDID(Integer timeDID) {
		this.timeDID = timeDID;
		return this;
	}

	public ValidateBillParam setExtID(Integer extID) {
		this.extID = extID;
		return this;
	}

	public Long getUid() {
		return uid;
	}

	public ValidateBillParam setUid(Long uid) {
		this.uid = uid;
		return this;
	}
	
	
	
	
	
	
}
